<template>
  <div class="wrapper">
    <span>可视化编辑</span>
    <div class="btn_box">
      <div class="btn active">预览</div>
      <div class="btn ">保存</div>
      <div class="btn ">发布</div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'VHeader',
  data() {
    return {

    }
  },
  methods: {},
  created() { },
  mounted() { }
}
</script>

<style lang="less" scoped>
.wrapper {
  background-color: #0094ff;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  padding: 0 15px;
  span {
    font-size: 26px;
  }
  .btn_box {
    display: flex;
    width: 200px;
    justify-content: space-between;
  }

  .btn {
    background: white;
    color: orange;
    font-size: 13px;
    padding: 2px 10px;
    border-radius: 4px;
    cursor: pointer;
    &.active {
      color: white;
      background-color: orange;
    }
  }
}
</style>